<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0054)https://passport.zhaopin.com/findpassword/mobile/step3 -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>忘记密码--重置密码</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <meta property="qc:admins" content="2401242744330724620170166375">
    <meta property="wb:webmaster" content="846a7a8345681868">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8">
    <meta content="always" name="referrer">
    <link type="text/css" rel="stylesheet" href="{{ asset('home/css/login.css') }}" />
    <link type="text/css" rel="stylesheet" href="{{ asset('/home/css/custom.css') }}" />
    <script type="text/javascript" src="{{ asset('/home/js/jquery-1.8.3.min.js') }}"></script>
<style type="text/css">
    .lblplaceholder {
        height:22px; padding:10px; *padding:14px 10px 10px 10px
    }
</style> 
</head>
<body>
    <div id="loginheader">
        <div class="loginnewhead">
            <a href="http://www.zhaopin.com/">
                <img src="{{ url('/home/img/newlogo1407.png') }}">
            </a>
        </div>
    </div>
    <div id="page">
<div class="welcomelogin">
    找回密码
</div>
<div class="login">
    <div class="msgparent">
        <div class="msgcontainer">
            <div class="tabs">
                
                        <ul class="tab">
                        <li class="curr">邮箱找回</li>  
                </ul>  
            </div>

            <dl style="border-top: 1px solid #cccccc; padding: 20px 0;">
                <dt class="msgtitle">
                    <img src="{{ asset('/home/img/step03.jpg') }}">
                </dt>
                <dd style="width:100%;">
                    <div style="margin:0 auto;overflow: hidden;width:416px;">
                        <form id="appform" method="post" action="https://passport.zhaopin.com/findpassword/mobile/reset" novalidate="novalidate">
                            {{ csrf_field() }}
                                <b style="font-size:20px;font-family:微软雅黑,Arial,Helvetica,sans-serif,simsun">
                                    验证成功，请重新设置密码
                                </b>
                            </p>

                            <div style="padding:10px 0">
                            <input type="hidden" id='email'  value="{{ $email }}"/>
                                <input class="inputText1" data-val="true" data-val-required="请输入密码" id="Password" name="Password" placeholder="请输入密码" type="password" value="">
                                 <span  id='a' style='margin-left:10px'>6-18位数字字母组合</span>
                            </div>
                           
                            <div style="padding:10px 0">
                                <input class="inputText1"  id="PasswordConfirm"  type="password"  name="PasswordConfirm" placeholder="请重复输入密码" value="">
                                <span id='b' style="margin-left:10px "> </span>
                            </div>

                            
                            <button type="button" id="button" style="margin:30px 0 0;">提交</button>
                        </form>
                    </div>
                </dd>
            </dl>
        </div>
    </div>
</div>
    </div>
    <!--
    <script src="http://images.zhaopin.com/new2011/bottom/bottom_2011_utf_8.js"></script>-->
    <div id="loginfooter">
        <a onmousedown="return AdsClick(121115223,&#39;zhilianjieshao&#39;)" target="_blank" href="">智联介绍</a> |
        <a target="_blank" href="">网站地图</a> |
        <a onmousedown="return AdsClick(121115223,&#39;jiaruzhilian&#39;)" target="_blank" href="">加入智联</a> |
        <a onmousedown="return AdsClick(121115223,&#39;falvshengming&#39;)" target="_blank" href="">法律声明</a> |
        <a onmousedown="return AdsClick(121115223,&#39;baomichengnuo&#39;)" target="_blank" href="">保密承诺</a> |
        <a onmousedown="return AdsClick(121115223,&#39;lianxifangshi&#39;)" target="_blank" href="">联系方式</a> |
        <a onmousedown="return AdsClick(121115223,&#39;changjianwenti&#39;)" target="_blank" href="">常见问题</a> |
        <a onmousedown="return AdsClick(121115223,&#39;touzizheguanxi&#39;)" target="_blank" href="">Investor Relations</a>
    </div>

    <script>
          $.ajaxSetup({
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        }});

        $('#button').click(function(){
           var  Password=$('#Password').val();
           var  PasswordConfirm=$('#PasswordConfirm').val();
           var  email=$('#email').val();
           var  a=$('#a');
           var  b=$('#b');
           $.ajax({
            url:'/home/reset/ajaxp',
            type:'post',
            data:{'Password':Password,'PasswordConfirm':PasswordConfirm,'email':email},
            dataType:'json',
            success:function(data){
                if(data==0)
                {
                    a.html('6-18位数字字母组合');
                    a.css('color','red');
                }else if(data==1)
                {
                    b.html('两次密码不一致');
                    b.css('color','red');
                }else if(data==2)
                {
                    var i=5;
                    setInterval(function(){
                         
                         $('#button').html("密码修改成功 "+i+" 秒后跳转");
                         i--;
                         if(i==0)
                         {
                            location='/home/login';
                         }
                    },1000)
                    
                     
                }

            }
           })






        })

   $('#PasswordConfirm').blur(function(){
    $('#b').html('　');
   })

    </script>


</body></html>